Skip to content

fix: pass requestTimeout from the config file to the runner - #170

Closed
saviourmk wants to merge 1 commit into
agent-ecosystem:mainfrom
saviourmk:fix/config-request-timeout
Closed

saviourmk wants to merge 1 commit into
agent-ecosystem:mainfrom
saviourmk:fix/config-request-timeout

Conversation

@saviourmk

Copy link
Copy Markdown

options.requestTimeout in agent-docs.config.yml is documented and validated by the config loader, but the check command never copies it into the runner options, so afdocs check always runs with the 15 second default. There is no CLI flag for it either, which leaves no way to give a slow site more time from the command line. The vitest helpers spread config.options and were not affected.

The check command now passes config.options.requestTimeout through when it is set. While there I fixed the default listed in docs/reference/config-file.md, which said 30000 while DEFAULT_OPTIONS uses 15000.

The new check-command test writes a config with requestTimeout: 45000 and checks the value that reaches validateRunnerOptions. On main it is undefined.

Fixes #169

@dacharyc

Copy link
Copy Markdown
Member

Thanks for the report. I've confirmed the bug described in the linked issue, and I’ll keep the issue open to track it.

I'm closing this PR, though. This project doesn't accept unsolicited, agent-generated pull requests from accounts with no prior involvement in the project. This PR arrived as part of a batch of six across two repositories in about 40 minutes, each opened seconds after its issue, and as an indie dev with limited resources, I can't take on reviewing and maintaining code submitted that way.

I'll triage and handle the bug fixes on a schedule that is consistent with my resources and the bug’s impact.

If you use this tool and run into problems with it, issues describing what you were doing and what went wrong are welcome.

@dacharyc dacharyc closed this Nov 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

options.requestTimeout in the config file is ignored by afdocs check

2 participants